package com.michale.common.codemessage;

/**
 * @author Michale
 * @apiNote JSR状态码
 */
public enum JSRCodeMessage {
    CHECK_PARAMETERS_ERROR(414,"数据校验出现问题"),
    OTHER_PARAMETERS_ERROR(415,"未知参数列表错误")
    ;
    private int code;
    private String message;

    JSRCodeMessage(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
